package com.yanh.merchant.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Schema(description = "角色信息")
@Data
public class StaffRoleDTO implements Serializable {
	@Schema(description = "角色Id")
	private Long id;

	@Schema(description = "角色名称")
	private String name;

	@Schema(description = "角色编码")
	private String code;

	@Schema(description = "角色所属租户")
	private Long tenantId;

	@Schema(description = "角色包含权限列表")
	private List<String> privilegeCodes = new ArrayList<>();
}
